﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="email_manages_frame.aspx.cs" Inherits="Ccit.OA.Email.email_manages_frame" %>
<%@ Register TagPrefix="ccit" Namespace="Ccit.ServerControls" Assembly="Ccit.ServerControls.ActionForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript">
    //删除
    function doDel()
    {
        self.frames[1].doDel();
        return false;
    }
    
    //转移
    function doFind()
    {
        self.frames[1].doFind();
        return false;
    }
    
    function doAddEmail()// 撰写邮件
    {
         var sParam = "Lastspace="+ self.frames[0].document.getElementById("hidspacelast").value;
         var encodeParam = base64encode(sParam);
         window.location.href = "./email_write.aspx?"+encodeParam;
         return false;
    }
    </script>
</head>
<body>
  <ccit:ActionForm id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" runat="server"></asp:ScriptManager>
        	<table  cellSpacing="0" cellPadding="0" width="98%" align="center" border="0">
				<tr class="tbToolbar">
					<td align="left">
						<div class="tbSeparator"></div>
					</td>
					<td class="titlebar" width="100%">
							<img src="../images/public/pageicon.gif" border="0">
							电子邮件-&gt;<asp:Label ID="lbTitle" runat="server"></asp:Label>
							<IMG src="../images/public/listicon.gif" border="0">
					</td>
					<td align="right">
						<div class="tbSeparator"></div>
					</td>
					<td>
					    <nobr>
					    <asp:LinkButton ID="lnkAdd" runat="server" CssClass="linktext"><IMG src="../images/toolbar/new.GIF" align="middle" border="0">撰写新邮件</asp:LinkButton>
					    <asp:linkbutton id="lnkDel" runat="server" CssClass="linktext">
						<IMG src="../images/toolbar/delete.GIF" align="middle" border="0">删除</asp:linkbutton><asp:linkbutton id="lnkFind" runat="server" CssClass="LinkText">
						<IMG src="../images/toolbar/redo.GIF" align="middle" border="0">转移到</asp:linkbutton>
						<asp:DropDownList Runat="server" id="ddlYJJ" CssClass="inputselect" Width="200px"></asp:DropDownList>
						<a href="javascript:location.href='email_wdyj_index.aspx';" Class="LinkText"><IMG src="../images/toolbar/back.GIF" align="middle" border="0">返回</a>
						</nobr>
					</td>
					<td align="left">
						<div class="tbSeparator"></div>
					</td>
				</tr>
	
			</table>
   	        <table  cellSpacing="0" cellPadding="0" width="98%" height="100%" align="center" border="0">
                <tr>
                     <td width="25%">
                        <iframe id="Iframe1" width="100%" name="iFrmTree" height="99%"  scrolling="auto"
		                style="BORDER-RIGHT: #000000 1px solid"	src="email_manages_tree.aspx"  frameborder="0"></iframe>
                    </td>
                    <td width="75%">
                        <iframe id="Iframe2" width="100%" name="iFrmEdit" height="99%" scrolling="auto"
				                src="email_manages_list.aspx" frameborder="0"></iframe>
                    </td>
                </tr>
            </table>
            <input type="hidden" id="hidParams" runat="server" />
    </ccit:ActionForm>
</body>
<script language="javascript">
    var vParams = document.getElementById("hidParams").value;
    document.getElementById("Iframe2").src="email_manages_list.aspx?" +vParams;
</script>
</html>
